import Vue from 'vue'
import VueRouter from 'vue-router'


Vue.use(VueRouter)

const routes = [
  {
    path:"/banner",
    component:()=>import("../components/banner.vue")
  },
  {
    path:"/home",
    component:()=>import("../components/home.vue")
  },
  {
    path:"*",
    redirect:"/banner"
  }
]

const router = new VueRouter({
  routes
})

export default router
